package ca.venasse.pinventory.part.command;

import org.axonframework.domain.AggregateIdentifier;

import ca.venasse.pinventory.common.Category;
import ca.venasse.pinventory.common.Name;

public class CreatePartCommand {

	private final AggregateIdentifier aggregateIdentifier;
	private final Category category;
	private final Name name;

	public CreatePartCommand(AggregateIdentifier aggregateIdentifier, Name name, Category category) {
		this.aggregateIdentifier = aggregateIdentifier;
		this.name = name;
		this.category = category;
	}

	public AggregateIdentifier getAggregateIdentifier() {
		return this.aggregateIdentifier;
	}

	public Category getCategory() {
		return this.category;
	}

	public Name getName() {
		return this.name;
	}

}
